﻿using System.Collections.Generic;
using System.Data;

namespace EIM_Accounting.BLL
{
    public class CommonBll
    {
        private readonly Accounting.DAL.Staff staff = new Accounting.DAL.Staff();

        internal List<int> getStaffList()
        {
            List<int> backList = new List<int>();
            DataSet ds = staff.GetList(" StaffType <>'合作者' ");

            foreach (DataRow dr in ds.Tables[0].Rows)
            {
                backList.Add(int.Parse(dr["ID"].ToString()));
            }

            return backList;
        }
    }
}